import React, {Component} from 'react';
import NavBar from "./NavBar";
import NavBar2 from "./NavBar2";

class App extends Component {

    constructor(props) {
        super(props);
    }


    render() {

        return (
            <div>
                <NavBar>
                    <span>首页</span>
                    <button>按钮</button>
                    <i>图标</i>
                </NavBar>
                <NavBar2>
                    <span>首页</span>
                </NavBar2>
                <NavBar2>
                    <span>首页</span>
                    <button>按钮</button>
                    <i>图标</i>
                </NavBar2>
            </div>
        )
    }
}

export default App;